home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: news.sprintlink.net!NEWS!not-for-mail
- From: (Gooseman)
- Subject: Detecting CD-ROM and physical memory
- Message-ID: <227cc$12192.31e@NEWS>
- Date: Fri, 02 Feb 1996 23:26:03 GMT
- X-Newsreader: Forte Free Agent 1.0.82
-
- I have written a 16-bit DLL (Borland C++ 4.52) to be called from
- Visual Basic 4.0. All of the functions work properly, except for two
- of them:
-
- 1) I need to be find out if the user has a CD-ROM drive. Under
- Win32, I could just use GetDriveType() for drives A: - J: (K: is our
- first network drive).
-
- 2) I need to find out how much PHYSICAL memory the user's system has.
- The only calls I have found return all memory (physical and swap).
- Again, if I could use Win32, that would be rather painless. Too bad I
- have to be stuck with Win16...
-
- PLEASE HELP! I need to roll this module out as soon as possible.
- (email responses would be best)
-
- Thanks,
-
- Bob Johnson - Eagan, McAllister Associates, Inc.
- johnsonb@atc.ameritel.net
- johnsonb.eodtc@eodmgate.navsea.navy.mil
-
-
-